﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Areas/Admin/Content/style.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/jquery-ui-1.9.2.custom.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.8.3.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.9.2.custom.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/ckeditor/ckeditor.js")" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('.dropdown').hover(function () {
                $(this).find('.sub_navigation').toggle();
            });
        });

        function MenuClick(url) {
            window.location.href = url;
        }
    </script>
</head>
<body>
    <div id="wrap">
        <div id="header">
            <img alt="dat nuoc viet logo" src="@Url.Content("~/Areas/Admin/Content/Images/logo.png")"/>
        </div>
        <div id="menu">
            <ul id="navigation">
                <li class="dropdown" onclick="MenuClick('@Url.Content("~/Admin/AdminHome")');" id="MenuHome"><a href="@Url.Content("~/Admin/AdminHome")" class="menuitem">Trang chủ</a></li>
                <li class="dropdown" id="MenuTour"><a href="javascript:void(0)" class="menuitem">Tour</a>
                    <ul class="sub_navigation">
                          <li onclick="MenuClick('@Url.Content("~/Admin/AdminTour/TourType")');"><a href="@Url.Content("~/Admin/AdminTour/TourType")" class="submenuitem">Danh mục loại tour</a></li>
                          <li onclick="MenuClick('@Url.Content("~/Admin/AdminTour/Tour")');"><a href="@Url.Content("~/Admin/AdminTour/Tour")" class="submenuitem">Danh sách tour</a></li>
                    </ul>
                </li>
                <li class="dropdown" id="MenuNews"><a href="javascript:void(0)" class="menuitem">Tin tức</a>
                    <ul class="sub_navigation">
                          <li onclick="MenuClick('@Url.Content("~/Admin/AdminNews/NewsType")');"><a href="@Url.Content("~/Admin/AdminNews/NewsType")" class="submenuitem">Danh mục loại tin</a></li>
                          <li onclick="MenuClick('@Url.Content("~/Admin/AdminNews/News")');"><a href="@Url.Content("~/Admin/AdminNews/News")" class="submenuitem">Danh sách bài viết</a></li>
                    </ul>
                </li>
                <li class="dropdown" id="MenuService" onclick="MenuClick('@Url.Content("~/Admin/AdminHome/Service")');"><a href="@Url.Content("~/Admin/AdminHome/Service")" class="menuitem">Dịch vụ</a>
                </li>
                <li class="dropdown" id="MenuEvent" onclick="MenuClick('@Url.Content("~/Admin/AdminHome/Event")');"><a href="@Url.Content("~/Admin/AdminHome/Event")" class="menuitem">Tổ chức sự kiện</a>
                </li>
                <li class="dropdown" id="MenuContact" onclick="MenuClick('@Url.Content("~/Admin/AdminHome/Contact")');"><a href="@Url.Content("~/Admin/AdminHome/Contact")" class="menuitem">Thông tin liên hệ</a></li>
                <li class="dropdown" id="MenuTriAn" onclick="MenuClick('@Url.Content("~/Admin/AdminHome/TriAn")');"><a href="@Url.Content("~/Admin/AdminHome/TriAn")" class="menuitem">Tri ân khách hàng</a></li>
                <li class="dropdown" id="MenuEmail" onclick="MenuClick('@Url.Content("~/Admin/AdminHome/EmailList")');"><a href="@Url.Content("~/Admin/AdminHome/EmailList")" class="menuitem">Danh sách email</a></li>
                <li class="dropdown" id="MenuGallery" onclick="MenuClick('@Url.Content("~/Admin/AdminHome/Gallery")');"><a href="@Url.Content("~/Admin/AdminHome/Gallery")" class="menuitem">Thư viện ảnh</a></li>
                <li class="dropdown" id="MenuCP" onclick="MenuClick('@Url.Content("~/Admin/AdminHome/ChangePassword")');"><a href="@Url.Content("~/Admin/AdminHome/ChangePassword")" class="menuitem">Thay đổi mật khẩu</a></li>
            </ul>
        </div>
        <div id="date">
            @String.Format("{0:F}", System.DateTime.Now)
            <div class="datecontrol">
                <a href="@Url.Content("~/Home")" target="_blank">Trang chủ Đất Nước Việt</a>&nbsp;&nbsp;&nbsp;
                <a href="@Url.Action("LogOut","AdminHome")">Đăng xuất</a>
            </div>
            <div class="clear">&nbsp;</div>
        </div>
        <div id="content">
        @RenderBody()
        </div>      
    </div>  
</body>
</html>
